removing console log from template, some refactoring of routes to views