add express parameter validation
string change
refactor client-side code so that I stop polluting the root scope and use factories/services instead