Added change avatar functionality.