Redirect from index page to dashboard for logged users