commiting user role functionality i.e admin/normal user