added update/view user functionality