Working on sign-up form, JSON - index issue and departments options