fix flash messages
add pagination for news