remove admin restriction on ajax assignment and add ajax rename test
refactoring