created proper login and use case