Implemented user authentication with Appwrite database and JWT generation for secure API call authentication