correctly call the method instead of the local variable
move flash message after logged_user because it resets the session
refactor the user destroy method. make the case where the user deletes him/herself more clear with a separate variable.
Merge pull request #911 from opf/fix/correct_user_logout_when_destroyed2