fix registration form template
refactoring login page template
fix form template
rewrite login js on twitter flight