Fixing Login Issue

Made fixes for login not working