removes obsolete code. adds session greeting