public IHttpActionResult GetUserNameExists(string userName) { if (AuthHandler.CheckUserName(userName, db)) { return(Ok(true)); } return(NotFound()); }