add db transaction in user edit,just to make sure all proccess is success, else db will rollback
add db transaction in user edit,just to make sure all proccess is success, else db will rollback

shikai06/ci-capstone,shikai06/ci-capstone,lloricode/ci-capstone,lloricode/ci-capstone,shikai06/ci-capstone,lloricode/ci-capstone