forgot to delete the chat method in the controller file. Deleted now