added ajax for name