It seems that the css is not loaded when user is not logged.

I think you need to load it from a method named userloginbar_init