changed user_id in user model to integer rather than string