FIX FATAL TYPO IN LOGIN and add location service

Want to merge this directly to master because it fixes a typo in dbConfig, that I introduced yesterday in setting up ios, that prevents login from working.

Also, this checks for location when it goes to user homepage.  If the user refuses permission, it fails gracefully.  If not, longitude and latitude are set in local storage.  If the user goes back to the user page within 2 min, it won't recheck location, but longer than that and it will.