added Categories, Pages, and login functionality