First attempt at session handling, oh man.