fixed register && login