added messages package to loader call; changed template a little bit so there is no regression in the look