Merge pull request #5 from johnakers/user_session

Merging commits from last night and this morning.
added RT code but not functional