Extract user ID from post