added error messaging to login for debug purposes
added logging to handler to identify errors
Merge remote-tracking branch 'origin/exp' into exp