Finally fixed footer problem
Changed logic of joined at to controller