Fixed admin check issue in the index file.
Fixed dublicate