Successful user registration redirects to index page