modified login structure and template
updates