Got session to work