- Enhanced the GET request handler to better manage session tokens from both request headers and Next.js cookie store. - Added detailed error handling for authentication failures and improved logging for debugging purposes. - Updated cookie management to provide clearer insights into session token presence and accessibility. - Ensured secure cookie handling is enforced in production environments.