included authentication for index page, fixed sign in bug on home page