Added login and logout and updated common functions
Merge branch 'master' of https://github.com/theServerGod/FitPA