Bugfix with SQL query
Improvement for the news feed and adding a limit to the feed