Implemented Auth service.