fix on signin page

error message was always displayed