added sending private messages as well as bug fixes