removing admin function