Added user roles and authorisation.