commit changes for ajax submission of bp,fix UI for permissions and roles,configuration for mail, and others.