flash message, register button