worked on login stuff