Added edit user function.