Add a login servlet working with Ajax