get session data is working now. used callbacks