how do you write a program that will connect to a server with a database on to access a user list?