Fix template modifcations and execution order of them
New feature added:
Possibility to log downloads from API (Work only with API key set with User Type). Downloads are logged for user which API key is set.
Thanks to @sub_ubi for funded.
Show only Download tracker tab if:
Resource has been downloaded
Resource is not fileless
Fix exectution order of TM who display profil tab