login redirection; fix ui