moved logic to controllers
changed page to make
first commit - removed logic from Routes