cleaned up username/password login with passport.js and created an angular directive to simplify role management