Removed some global variables for page refresh fix.
Merge branch 'master' of https://github.com/lockan/Group5Repo