redirect index to dash if logged in