added redirection to sign in when accessing dashboard