public HttpResponseMessage Get([FromUri] string username) { if (username != null) { bool user = userDatabase.CheckUserbyName(username); if (user == true) { return(Request.CreateResponse(HttpStatusCode.OK, "True - User Does Exist! Did you mean to do a POST to create a new user?")); } else { return(Request.CreateResponse(HttpStatusCode.OK, "False - User Does Not Exist! Did you mean to do a POST to create a new user?")); } } else { return(Request.CreateResponse(HttpStatusCode.OK, "False - User Does Not Exist! Did you mean to do a POST to create a new user?")); } }