adding specific routes (Rather than query string)
refactoring controller