change user_id type to integer in votes