view profile functionality added