sessioncheck implemented and allowing sessionupdate to change status. cleanup