resolved the template bug in login pg