implemented front page, sign in and register pages