Edited admin functionality