Added edit profile functionality