Adding action and route for the test of the homepage