Added edit profile functionality.