Implemented basic security from mysql injection for searching, fixed pagination, cleaned layout a bit