enable register and order. add cors and add tokent based authentication system