Fixed pathFor view-profile in home and photo + card view in view-profile page