Created admin functionality, move some stuff there