Finished session controller

Still have to run tests on it.