Adding messages + import (to check), some refactoring on templates, homepage functionnal