made newest posts list first and added error and success messages