creat front page and register page