working on session check ajax