finished setting up ajax part 1