update register wrong error logic, add signup and login link