added dynamic functionality to profiles; hide empty fields