Automatically redirect the user to a different page