Chat window height fix, made the avatar required when register