built auth wrapper for admin section