Fix foundation version
Set and unify license to 3 clause bsd
Fix register template
Fix login template