Removed debugging lines and changed user_id to current_user.id