changed check for login
Merge branch 'master' into pinauthintegration
removed error message