Rename function favorites to favorite
Add function friend