beforeRouting

final git where everything is working