added login required to dashboard