refactor signup page