Clients authentication and authorization