my own msg format implementation, login/register implementation