login issue, and pass value to html view template.