Change messenger.go to api.go