Added categories and post functionality