made the path to the template absolute
the language is now saved in the user