changed form_for attributes for register page