Fixed some bugs and added the get_mentions functionality