Add flash messages for login/logout