added minor functionality to admin page