if username does not exist no need to add to user login history table
Merge pull request #877 from rathisekaran/login_blank_page_issue

if username does not exist no need to add to user login history table