trying to fix sign-in to view