registration and avatar