Moven login handling more to handler.
Generated getters for later refactoring. Most of the handle logic should
moved from the Bridge class.
Moved subscription logic to handler.