improved login and register ui experience