changed to sessions instead of using login pages
Merge pull request #1 from Henryvw/test_branch

changed to sessions instead of using login pages