refactoring register page, fixing account edit for new user