Refactoring and changing made contact page dynamic