fix register -> login printout