Fix login error when load template
Changes in modal addproject