added before auth filter to dashboard