reconstuct account templates and add login button into navbar