Merge pull request #278 from dennishendriksen/master

Solve catalogue authorization issues + code improvements
Populate database on application loaded event (instead of through home controller)