added favourite/unfavourite functions and fav_count to project:.get()