Added Edit and Update user functionality and tests