fixing up the login and registration window