Fix for authorization and adding cloud