got the login use case to work