Send resource array to profile page- code tweak using find_all_by_ method