Added user role and email support