add login templates, change compile tasks