$("#login").on('click',function(event){ This line is missing event
Take a look at the error report on the console. If there is no response, there should be a problem with ajax.
$("#login").on('click',function(event){ This line is missing event
Take a look at the error report on the console. If there is no response, there should be a problem with ajax.