Added ability to upload avatar for user.