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