Finishes contact page
Refactors database