Updated HTTP methods on the login route.