Made it so that login and register error messages will appear on the same page.