contact list implementing sql