Added authenticate and create methods for /auth.