Register form action and method