Initial Setup and adding authentication logic for login with email with tokens