UserService expanded with login, register and logout