added admin area and post categories function