Fixed Login dialog when logged in

Also added one for when users are logged in and nobody is searching.