routing to homepage working