function to validate a user by email and password
Merge branch 'master' of https://github.com/GetAccredited/GetAccredited
login and logout
Merge branch 'master' of https://github.com/GetAccredited/GetAccredited