trying to make the login more consistent