Add import SESSION where it was missing in the API