implement part of userdetailviewcontroller