Service implementation

I have implemented the service interface, the login should work now.