added edit profile functionality except upload new avatar