Added statusbar & login function