//todo: check if user is logged in and has correct permissions in each action method
 public List <User> SearchForMemberToAdd(string email)
 {
     if (authProvider.IsLoggedIn && authProvider.GetCurrentUser().FamilyRole == "Leader")
     {
         return(userDAL.SearchForUsersNotInFamily(email));
     }
     else
     {
         return(new List <User>());
     }
 }