add nil check on devise usage config setting