pg type error fix #1
fixed pg error, user_id to integer