edit profile and read profile ok plus some other fixes