updated mainpage to test for entry variable not working