Added admin and edit endpoints