Updated SQL query.
Removed Messages page.