Card #48 changed query to access user roles.
Migration changes
Card #139 Migration update for new structure