Corrected issues with login.