Added authentication and permissions