Rewrote hardcoded reference to "admin" role with entity constant.