fixes in Helper.java and SessionHandler.java connection manager package.