Server side of news feed app