Created StatusManager

instead of LoginManager and LogoutManager.

TODO: find a solution for username not being static.