login pane and minor fixes