added categories, datestamps and authentication using passport