commit to login and editOrder