fix register / login messages