added view profile (also very ugly)