added admin functionality.
working on galary page