changed the ajax to connect to a different db to log users login