bug fixes

bug fixes for room numbering taking into account removed room numbers;
logout/session unset function updated