Fixed edit user functionality