updating user interface for login