code: function getRole(user) {
        user = user || getCurrentUser();
        return _.find(userRoles, {role: user.role});
      }
docs: @ngdoc function
  @name getRole
  @methodOf auth.service:Auth
  @description
  Returns the role object for the users role name
  
  @returns {Object} The role object