add upload avatar to application apis