Added some automation for logging in and stuff