updating UI of registration and login screens