Added authorization and button operations.