Added simple search. Updated pagination links to support search. Split messages section into a different template for better management. Updated the way date is passed to views.