updating some user pool code
refactoring some code
moving code from app.js
commenting some code
we can now handle clients opening multiple browser tabs with 1 user