Update login.js

jQuery plugged in AJAX requests