added database functionality for contacts and an admin page with user/password