added logout, error code translation and help print on start