(you or other family members). But if you don't prefer, with training and assurance, the dog don't have to sleep with you.
You need to be gental and firm, make it very clear you are the "alpha dog"(packleader). Otherwise, the dog will "herd" you or other family members.
Both border collie and german shepherd have double coats, shed heavily.