ibid for register page (puts focus on alert messages when they appear.)