changePassword(); header('Location: welcome.php'); exit(); } catch (Exception $e) { $_SESSION['message'] = $e->getMessage(); header('Location: signin.php'); exit(); }