Setting up the predict route and view