better authbar (should be recoded anyway)