fixing minor bugs with user roles