cleans up unnecessary code
implements sessions database
Merge pull request #17 from andreywix/Feature-Sessions

Feature - Sessions