add freemarker template login and sugnup