looking at making auth and validation Type based