added case for if role is admin