* add logout, * use the $$ postgresql escaping hammer