change routes names and add code related to friends part