added mean stack with xhr. Request returning data