Added a functional example of how to get info from the database.