fields now populate from database when connecting