return to homepage in case of last history