modify user login tpl and query promotion tpl