Routes are working, View::display() function is not working