Adding Ajax callback support to login and Override to Backbone Sync.