Dev

Added authentication and role-based authorisation.