implemented front page, register page, sign in page as well as user authentication