added login required for dashboard views