Redirect to index if not authorized