checking if the app was authorized, if yes,then echo a message!!!