refactoring controllers and make specofic route for accept