Night commit

Added WP resources for connection
Updated registration parameters
CreateGroup prototype (not working)
Fixed setting/receiving avatars
Fixed fetching own avatar
Fixed read message ack sending
Some UI fixies