Added delayed timer to redirect to homepage