added new controller for name and avatar