removed the check before edge commit
added router for multiple api token