added basic ajax calls