added login required test for dashboard