refactor ft, added new templates for login
new failing ft