modified the profile activity