add log-in & sign-up UI logic