Adds css/js assets to main template, fixes mongo User doc