added editing profile and some other changes