Core pr 5

Fixed some user redirects and coding style.
This would be a very big change across at least 5-6 modules and would require update functions to change all library users on live sites to have a new role.

I would prefer not to due this change...