Added a lot of login stuff