Fixing the user_id method