Added ability to upload avatar