detail view from profile working