Code clean up, facility to save login object and also to parse the snaps