Implement the front page, register page and sign in page