Ajax database calls added