A simple registration form with server side validation