adds role querying to the User model. Finishes js responsive user index querying.