Added debug feature...
Added code to handle secure requests...

- need to secure requests at client (login sent in plaintext?)
Nice...
Code cleanup?