Added prototype sanity checker.
Fixed username and password
General fixes to support new logging