Added admin controller
Fixed duplicate key insert