return correct /users status codes