loginCheck.js change

Setting the Ajax call to be synchronous so the page doesn't load before
the check is made.