fix potential bug
Change redirection after login behaviour, improve login page