Log out before deleting the user
Prevent website crash when welcome page does not exist