Add Logout option.
Manage login state by model events