• Generating Token and Inserting into Cookies
  • Deleting Cookie after logout
  • Verifying a token on protected route
  • Creating a check-auth endpoint to check if user authenticated
  • creating a forgot password token
  • validating reset-password token