Structure layout.erb file
define get_contacts function to connect to the database and grab contacts