add error alert to sign in page
check uptodate
update db