refactors tours controller