remove messages and fixed bug with action.php not displaying messages or count