added utility functions for photobomb backend, used for validating user variables and for backend functions.
Merge branch 'master' of https://github.com/bsanders/softeng