User must be logged before adding new categories and pages.  Created a more informative error message for a bad login.