Added redirection to index if GET doesn't exist