add register and refresh the login page