improving modularized authentication
Merge pull request #2 from TysonJones/master

improving modularized authentication