fix saving user