Get code submissions of a certain type for a user