correct connect and autorization