no renders the homepage after a button click