fix(controllers.js): relax backend URL validation to match frontend

Closes #1
Merge pull request #25 from ghachey/issue1

fix(controllers.js): relax backend URL validation to match frontend