added ajax get on connected