Fixed view issues related to commons/base.html