Added admin role check function and also added the ability for administrators to change users roles.