work on register page