Bugfix/ put auth hasRole admin stuff back into indexjs