add register page and login page