created home and fixed redirects based on sign in status