Modified to redirect to homepage when no guess is made