added location setting and location visibility model functions
finished location iter3
added additional returns to register json
edited error messages to strings
Merge branch 'back'