Made user_completed_codes actually work and submission pages work for anonymous users.