still trying to get the session working