Added avatar support.

Also fixed a small bug with user status.