ajax entry method and confirmation after entry  implemented