Added authentication and authorizations