Specify password if session cannot be created.
Move method to load registered application.
Check if the application is registered.
Review parser and modify loading of clients scripts.
remove dtd check.
Remove printout.