refact lightbox
fix auth, detail