changed index to admin view