updated code to work on server
Merge branch 'master' of https://github.com/camhart/webapp