Add remeber login , JSON and base64 support. Add new functions to processing routine