updated some code for the sessions and customers