adds error message, completed registration redirects to user page