completing db methods, to be hooked up to friendList