Added TS + refactor glassfish-web.xml for Auth