Refactor routes
Change access controll allow origin to all