attempts at controller for login