try to add remember-me, not done yet
improve the function of login/logout