rewrote login.php for using email instead of username.
Merge branch 'master' of github.com:gimli/cms