made SQRL commands into flag enums and wrote a serialization method in the http handler