fixed misspel bug
modified header: added id and error_code fields
modified session member functions declarations