Added the three TIES hacks: (1) removing unique indexes for users; (2) adding sessionStorage at login to ensure new tabs/windows need new logins; and (3) fixing patch.js for certain pagination scenarios