Add logout and successful register redirects to index