login and register UI fixes