add edit userprofile function in UserController

add function edit in UserController involve with page edit userprofile