modified index and profile views