always unset user on re-initialization of the UI and remove the unused LoginWindow