Getting homepage to print the request result