logical errors in server side code fixed
Merge branch 'master' of https://github.com/js3611/WebApp
many small things added for transactions