Preparing of slave for the session