Added flash message on logout