Small fix in save of user id