made a parameter more self explanatory
added redirect to dashboard if user tries viewing a version that doesn't belong to their c_id