Move views outside of controller.
Remove unneeded log lines.