event button redirecting to home page