destroy session when getting project details