Created basic session class and created functional AUTH library.