Fixed syntax + API deprecation +

error with login and unwrapped Optional error
Framework with JSON starter
Merged with terry