Error: User is not logged in or email is not set in the session.