Added some comments, logging and remove fix for corruption of session by Firebase - it seems to be working now
Updated readme