dbService.py updated

Bug in storeFriends