Steps to reproduce: Log in as a valid user. Navigate to the profile settings page. Change any field (e.g., name). Click "Save." Expected result: Profile should update successfully. Actual result: The app crashes with a 500 Internal Server Error.