fixing user role verification