User must be able to login after creating an account.
If user attempts to login with a username/email/whatever not found in database, conditionally render 'Username not found' response.
Password must be verified on backend before logging in.
If password authentication fails, conditionally render 'Password is incorrect' response
Once sign in is successful, user should be redirected to their user page.
Users should receive a cookie leaving them logged in until they log out or cookie expires.
Cookie should expire after some amount of time
Server should authenticate JWT Cookie exists every time user makes request
Users should not be able to see other user's pages when logged in
If not logged in at all, no user page should be viewable.
STRETCH GOAL: Show a limited page when looking up users. (History? Recent activities?) only show things that can be changed by the user if user is logged in.
STRETCHIER GOAL: Let a user change privacy settings so that only friends can view their page, etc.
User must be able to login after creating an account.If user attempts to login with a username/email/whatever not found in database, conditionally render 'Username not found' response.Password must be verified on backend before logging in.If password authentication fails, conditionally render 'Password is incorrect' responseOnce sign in is successful, user should be redirected to their user page.Users should receive a cookie leaving them logged in until they log out or cookie expires.Cookie should expire after some amount of timeServer should authenticate JWT Cookie exists every time user makes requestUsers should not be able to see other user's pages when logged inIf not logged in at all, no user page should be viewable.