fixed user save method