Minor refactoring - renamed authentication function
Merge branch 'master' of https://github.com/poweradmin/poweradmin