implementing the RPC backbone to the login service