initial draft of ajax request and mine checking view