Ensured user id is saved