Login implemented... but code structure is realy bad... do more
important stuff in Application-class