linking up database, populating some test data, hooking up view to backend