more cleanup. more listeners
fetching roster. fixed sending messages as type chat