fixed a bug where the loginscreen would not be desplayed upon first visit