Change registration form fields based on user type and fixing automatic login after register