fixed registration form to work with bootstrap