Merge pull request #12 from ColdTrick/master

different improvements
fix function name letter case, check email whitelist on login
added the option to show a custom error page for the protected pages