add contact page and refactor tests