Added $hassiteconfig check and password field to setting page