fixed user id not saving